package com.buddy.syn.block._05;

public class ThreadB extends Thread {

    private DoubleSynBlockOneService service;

    public ThreadB(DoubleSynBlockOneService service){
        super();
        this.service = service;
    }

    public void run(){
        super.run();
        service.methodB();
    }
}
